package format;
//统一规定后端给前端返回的数据格式
public class ResponseResult {
    private Integer statusNO;
    private String message;
    private String data;

    public ResponseResult() {
    }

    public ResponseResult(Integer statusNO, String message, String data) {
        this.statusNO = statusNO;
        this.message = message;
        this.data = data;
    }

    public Integer getStatusNO() {
        return statusNO;
    }

    public void setStatusNO(Integer statusNO) {
        this.statusNO = statusNO;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getData() {
        return data;
    }
    public void setData(String data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return  "{\"statusNO\":\""+statusNO+"\",\"message\":\""+message+"\",\"data\":\""+data+"\"}";
    }
}
